<?xml version="1.0" encoding="UTF-8"?>


<!--
	errore.inc.xsl

	Template per formattazione errore
-->


<xsl:stylesheet
	version = "1.0"
	xmlns = "http://www.w3.org/1999/xhtml"
	xmlns:inc = "http://ltw0807.web.cs.unibo.it/xsl/inc"
	xmlns:xsl = "http://www.w3.org/1999/XSL/Transform">


	<!--
		Template errore
	-->
	<xsl:template match = "errore">
		<xsl:element name = "div">
			<xsl:call-template name = "inc:create-output-markers"/>
			<xsl:apply-templates/>
		</xsl:element>
	</xsl:template>


	<!--
		Template codice
	-->
	<xsl:template match="errore/codice">
		<xsl:element name = "h1">
			<xsl:call-template name = "inc:create-output-markers"/>
			<xsl:text>Errore </xsl:text>
			<xsl:apply-templates/>
		</xsl:element>
	</xsl:template>


	<!--
		Template descrizione
	-->
	<xsl:template match="errore/descrizione">
		<xsl:element name = "p">
			<xsl:call-template name = "inc:create-output-markers"/>
			<xsl:apply-templates/>
		</xsl:element>
	</xsl:template>

</xsl:stylesheet>
